/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package aso.upna.net;

import java.io.Serializable;

/**
 *
 * @author triki
 */

/*
 * Clase WellcomeMessage.
 * Direccion: cliente -> servidor.
 */

public class WellcomeMessage implements Serializable {
    private final String user_id;
    private final String user;
    private final String password;
    
    private final int myTcpPort;

    public WellcomeMessage(String u_id,String usr,String pass,int myTcpPort)
    {
        user_id = new String(u_id);
        user = new String(usr);
        password = new String(pass);
        this.myTcpPort = myTcpPort;
    }

    public String getUserId()
    {
        return user_id;
    }

    public String getUser()
    {
        return user;
    }

    public String getPassword()
    {
        return password;
    }

    public int getTcpPort()
    {
        return myTcpPort;
    }
}
